<?php 
require('../../../../includes/runner.php');
require('../classes/ShopCategory.php');
require('../classes/ShopAttribute.php');
require('../classes/ShopProvider.php');
require('../funkcije.php');
require('../../menu/funkcije.php');
/*
require('classes/ShopCategory.php');
require('classes/ShopAttribute.php');
require('classes/ShopProvider.php');
require('funkcije.php');
require('../menu/funkcije.php');
$shopCom 	= new ShopAdmin();
$menuAdmin 		= new SiteAdmin();
$sections	= $menuAdmin->getProductSections(SITE_ID);
*/

if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") ) 
{  header("Content-type: application/xhtml+xml;charset=utf-8"); } 
else 
{ header("Content-type: text/xml;charset=utf-8"); }

$page = 1;
$total_pages = 10;
$count = 100;

echo "<?xml version='1.0' encoding='utf-8'?>";
echo "<rows>";
echo "<page>".$page."</page>";
echo "<total>".$total_pages."</total>";
echo "<records>".$count."</records>";

// be sure to put text data in CDATA
echo '<row id="1">';            
            echo '<cell>1</cell>';
            echo '<cell>2</cell>';
            echo '<cell>1100</cell>';
            echo '<cell>10</cell>';
            echo '<cell>1110</cell>';
            echo '<cell><![CDATA[sfafas]]></cell>';
			echo '<cell><![CDATA[yes]]></cell>';
echo '</row>';

echo '</rows>'; 
?>